package cn.yunhe.controller;

import cn.yunhe.service.QuestionTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class QuestionTypeController {
    @Autowired
    @Qualifier("questionTypeService")
    private QuestionTypeService questionTypeService;
    @RequestMapping("/practice")
    public ModelAndView getQuestionTypeList(){
        ModelAndView mv = new ModelAndView();
        mv.setViewName("practice");
        return mv;
    }
}
